package com.baseframe.sys.service.dao;

import java.util.List;

import org.springframework.data.repository.CrudRepository;

import com.baseframe.sys.entity.FrameModulePrivilege;

public interface FrameModulePrivilegeRepository extends CrudRepository<FrameModulePrivilege,String> {
    List<FrameModulePrivilege> findByAllowtype(String allowType);

    int deleteByModuleguidAndAllowtype(String moduleGuid, String allowType);
}
